package com.link.base.base.coupons.controller;


import com.link.base.base.coupons.model.CoupOrg;
import com.link.base.base.coupons.service.CoupOrgService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * <p>优惠券—适用区域Controller</p>
 * @author wangdawei
 * @date 2018/6/10
 */

@Controller
@RequestMapping("/link/coupOrg")
public class CoupOrgController extends BasicController<CoupOrg> {

    @Resource
    private CoupOrgService coupOrgService;

    @Override
    public BasicService<CoupOrg> getBasicService() throws Exception {
        return coupOrgService;
    }
}
